package com.xugongzhang.tx.service;

import com.xugongzhang.tx.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author X
 * @date 2022/12/11 2:48
 */
@Service
public class UserService {
    
    @Autowired
    private UserDao userDao;
    
    @Transactional
    public void insertUser() {
        userDao.insert();
    }
}
